package com.tjp.mall.order.feign;

import com.tjp.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

//指明需要在服务中心发现的服务名称
@FeignClient(name = "mall-product")
public interface ProductService {

    @GetMapping("/product/brand/all")
    public R queryAllBrandInfo();
}
